diff options
-rw-r--r-- | cloudinit/CloudConfig/cc_puppet.py | 2 | ||||
-rw-r--r-- | doc/examples/cloud-config-puppet.txt | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/cloudinit/CloudConfig/cc_puppet.py b/cloudinit/CloudConfig/cc_puppet.py index ac72057c..8ccfb2df 100644 --- a/cloudinit/CloudConfig/cc_puppet.py +++ b/cloudinit/CloudConfig/cc_puppet.py @@ -16,6 +16,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. import os +import pwd +import socket import subprocess def handle(name,cfg,cloud,log,args): diff --git a/doc/examples/cloud-config-puppet.txt b/doc/examples/cloud-config-puppet.txt index 258418a4..cd3c2f8e 100644 --- a/doc/examples/cloud-config-puppet.txt +++ b/doc/examples/cloud-config-puppet.txt @@ -18,7 +18,7 @@ puppet: # The puppmaster ca certificate will be available in # /var/lib/puppet/ssl/certs/ca.pem conf: - puppetd: + agent: server: "puppetmaster.example.org" # certname supports substitutions at runtime: # %i: instanceid |