Ask Your Question

linux vm learning vm make agent not working

asked 2013-10-22 07:10:43 -0600

vrajkumar gravatar image

updated 2013-10-22 12:27:08 -0600

GregLarkin gravatar image

strun.learn.localdomain post.log install.log learning.answers puppet-enterprise

[root@learn ~]# puppet apply -e "class {'learningpuppet::makeagent':}"
Notice: /Stage[main]/Learningpuppet::Makeagent/Service[pe-memcached]/ensure: ensure changed 'running' to 'stopped'
Notice: /Stage[main]/Learningpuppet::Makeagent/File[/etc/cron.d/default-add-all-nodes]/ensure: removed
Notice: /Stage[main]/Learningpuppet::Makeagent/Service[pe-puppet]/ensure: ensure changed 'running' to 'stopped'
Notice: /Stage[main]/Learningpuppet::Makeagent/Service[pe-activemq]/ensure: ensure changed 'running' to 'stopped'
Notice: /Stage[main]/Learningpuppet::Makeagent/Service[pe-puppet-dashboard-workers]/enable: enable changed 'true' to 'false'
Notice: /File[/etc/puppetlabs/puppet/ssl/ca]/ensure: removed
Notice: /File[/etc/puppetlabs/puppet/ssl/private_keys]/ensure: removed ...
edit retag flag offensive close merge delete


if I runn it second time it says [root@learn ~]# puppet apply -e "class {'learningpuppet::makeagent':}" Notice: /File[/etc/puppetlabs/puppet/ssl/private_keys]/ensure: removed Notice: /File[/etc/puppetlabs/puppet ...(more)

vrajkumar gravatar imagevrajkumar ( 2013-10-22 07:29:52 -0600 )edit

cntrl+c error is Error: /Stage[main]/Learningpuppet::Resetexamples/Package[ntp]/ensure: change from absent to purged failed: exit

vrajkumar gravatar imagevrajkumar ( 2013-10-22 07:30:46 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2013-10-22 12:33:54 -0600

GregLarkin gravatar image

I believe that is the expected behavior when applying that class. What exactly are you trying to do?

Here is the documentation from the top of the manifest file, and there may be additional references in the Learning VM documentation. Note the contents of the first paragraph:

# = Class: learningpuppet::makeagent
# This class will configure a Puppet Enterprise system to STOP offering puppet
# master services. It was designed to let readers of the Learning Puppet
# series[1] create agent nodes by duplicating their original virtual machine,
# instead of having to download or build another VM from scratch.
# After the class is ...
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2013-10-22 07:10:43 -0600

Seen: 92 times

Last updated: Oct 22 '13