I really hate to bother everyone with with something I'm sure is super
basic, but I'm stumped.
I've read the module serving guide, I checked my syntax with puppet-lint, I
think I have everything in place, yet I keep getting the same error:
Tue Mar 12 11:49:28 -0500 2013 Puppet (notice): Starting Puppet client
> version 2.6.17
> Tue Mar 12 11:49:28 -0500 2013 /File[/var/lib/puppet/lib] (err): Could not
> evaluate: Could not retrieve information from environment production
> source(s) puppet://puppet/plugins
> Tue Mar 12 11:49:29 -0500 2013 /Stage[main]//File[/etc/ssh/sshd_config]
> (err): Could not evaluate: Could not retrieve information from environment
> production source(s) puppet:///modules/sshd/sshd_config at
> /etc/puppet/manifests/site.pp:20
> Tue Mar 12 11:49:29 -0500 2013 /Stage[main]//Service[sshd] (notice):
> Dependency File[/etc/ssh/sshd_config] has failures: true
> Tue Mar 12 11:49:29 -0500 2013 /Stage[main]//Service[sshd] (warning):
> Skipping because of failed dependencies
>
I was thinking there was some sort of permissions error somewhere? But
since I'm running as root, I don't think that's likely, plus I have even
777 the sshd_config to test. Here is my site.pp, if anyone can look it over
and at least point me in the right direction it would be greatly
appreciated. I've already scoured this forum, but I think I'm missing
something.
package { 'openssh':
> ensure => installed,
> }
>
> file { '/etc/ssh/sshd_config':
> source => 'puppet:///modules/sshd/sshd_config',
> owner => root,
> group => root,
> mode => '0640',
> notify => Service['sshd'], #restart sshd.
> require => Package['openssh'],
> }
>
> service { 'sshd':
> ensure => running,
> enable => true,
> hasstatus => true,
> hasrestart => true,
> }
>
Any help would be greatly appreciated.
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.