RHEL 7 - Satellite 6.1 - Puppet Locally

96 views
Skip to first unread message

Tom Zurita

unread,
Oct 26, 2015, 2:03:41 PM10/26/15
to Puppet Users
We deploy our servers and use Puppet using Satellite 6.1.  I deployed a server and am trying to test modules locally and it NEVER works.  

cat /etc/puppet/puppet.conf 


[main]

vardir = /var/lib/puppet

logdir = /var/log/puppet

rundir = /var/run/puppet

ssldir = $vardir/ssl


[agent]

pluginsync      = true

report          = true

ignoreschedules = true

daemon          = false

ca_server       = blah

certname        = rhel7-test2.blah.edu

environment     = KT_SI_Org_Default_RHEL7_Prod_RHEL7_comp_CV_14

# server          = blah


[root@rhel7-test2 manifests]#  puppet config print modulepath 

/etc/puppet/modules:/usr/share/puppet/modules


[root@rhel7-test2 manifests]# puppet module list

/etc/puppet/modules

├── cis-puppet (???)

├── duritong-sysctl (v0.0.11)

└── puppetlabs-stdlib (v4.9.0)

/usr/share/puppet/modules (no modules installed)


puppet apply --modulepath=/etc/puppet/modules /etc/puppet/modules/cis-puppet/manifests/test.pp


I don't get errors just doesn't change a thing, nor does it show it running that script.


Trevor Vaughan

unread,
Oct 27, 2015, 11:14:02 AM10/27/15
to puppet...@googlegroups.com
Hi Tom,

What's the content of test.pp?

Thanks,

Trevor

--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/f7a79794-97d8-49d2-8a03-f64f847fef38%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Trevor Vaughan
Vice President, Onyx Point, Inc
(410) 541-6699

-- This account not approved for unencrypted proprietary information --

jcbollinger

unread,
Oct 27, 2015, 1:18:18 PM10/27/15
to Puppet Users


On Monday, October 26, 2015 at 9:03:41 AM UTC-5, Tom Zurita wrote:

[root@rhel7-test2 manifests]# puppet module list

/etc/puppet/modules

├── cis-puppet (???)

├── duritong-sysctl (v0.0.11)

└── puppetlabs-stdlib (v4.9.0)

/usr/share/puppet/modules (no modules installed)


puppet apply --modulepath=/etc/puppet/modules /etc/puppet/modules/cis-puppet/manifests/test.pp


I don't get errors just doesn't change a thing, nor does it show it running that script.




Giving the --debug option on the 'puppet agent' command line should give you more console output describing what's going on.  Giving the --detailed-exitcodes option will make puppet's exit code more informative about what happened during the run.  The results of both of those (you can use them together) may help you diagnose the problem, and probably will help us do so.


John

Reply all
Reply to author
Forward
0 new messages