~bigdata-dev/charms/trusty/apache-hadoop-plugin/trunk

« back to all changes in this revision

Viewing changes to hooks/common.py

  • Committer: Kevin W. Monroe
  • Date: 2015-06-19 17:25:57 UTC
  • Revision ID: kevin.monroe@canonical.com-20150619172557-bzu3nmokkfva3vkr
refactor /etc/hosts management to consistently use hosts entries from unitdata.kv

Show diffs side-by-side

added added

removed removed

Lines of Context:
69
69
                hdfs_relation,
70
70
            ],
71
71
            'callbacks': [
72
 
                hdfs_relation.update_etc_hosts,
 
72
                hdfs_relation.register_provided_hosts,
 
73
                jujubigdata.utils.manage_etc_hosts,
73
74
                hdfs.configure_client,
74
75
            ],
75
76
            'cleanup': [],
83
84
                yarn_relation,
84
85
            ],
85
86
            'callbacks': [
86
 
                yarn_relation.update_etc_hosts,
 
87
                yarn_relation.register_provided_hosts,
 
88
                jujubigdata.utils.manage_etc_hosts,
87
89
                yarn.install_demo,
88
90
                yarn.configure_client,
89
91
            ],