Hello Tim,

Do you find a solution ?
I have the same problem.

Cheers
Romain

Le samedi 20 septembre 2014 19:56:43 UTC+2, bluethundr a écrit :
>
> Hey all,
>
>
>  For some reason my client nodes are being set to an environment called 
> 'none'. This causes an error in puppet runs becuase the pupet server 
> doesn't recognize an environment called 'none'. The environment I want them 
> to use is called 'Production'.
>
> This is the error that I'm getting on puppet runs
>
> Error: /Stage[main]/Php::Configure/File[/etc/php.ini]: Could not evaluate: 
> *Could 
> not retrieve information from environment none source(s) *
> puppet:///modules/php/php.ini
> Error: 
> /Stage[main]/Lumberjack::Config/File[/etc/logstash/lumberjack.conf]: *Could 
> not evaluate: Could not retrieve information from environment none *source(s) 
> puppet:///modules/lumberjack/lumberjack.conf
>
>  I'm on puppet 3.7 on client and server
>
> [root@ops:~] #puppet --version
> 3.7.0
>
> My puppet conf:
>
> [main]
>     logdir = /var/log/puppet
>     rundir = /var/run/puppet
>     ssldir = $vardir/ssl
>     privatekeydir = $ssldir/private_keys { group = service }
>     hostprivkey = $privatekeydir/$certname.pem { mode = 640 }
>     autosign       = $confdir/autosign.conf { mode = 664 }
>
> [agent]
>     classfile = $vardir/classes.txt
>     localconfig = $vardir/localconfig
>     default_schedules = false
>     report        = true
>     pluginsync    = false
>     masterport    = 8140
>     environment   = production
>     certname      = puppet.mydomain.com
>     server        = puppet.mydomain.com
>     listen        = false
>     splay         = false
>     runinterval   = 1800
>     noop          = false
>     show_diff     = false
>     configtimeout = 120
>
> [master]
>     autosign       = $confdir/autosign.conf { mode = 664 }
>     reports        = foreman
>     external_nodes = /etc/puppet/node.rb
>     node_terminus  = exec
>     ca             = true
>     ssldir         = /var/lib/puppet/ssl
>     certname       = puppet.mydomain.com
> [development]
>     modulepath     = 
> /etc/puppet/environments/development/modules:/etc/puppet/environments/common:/usr/share/puppet/modules
>     config_version =
> [production]
>     modulepath     = /etc/puppet/environments/production/modules
>     config_version =
>
> Could some one please let me know how I can get the client nodes to 
> register under the correct environment? 
>
> Thanks
> Tim
>  

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/8246d7a2-1f9b-47a1-8b8f-5145369e4f52%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to