Even if the puppetmaster webserver is shutdown, i still get the same error

Am Donnerstag, 30. Oktober 2014 15:21:48 UTC+1 schrieb Daniel Obi:
>
> Greetings,
>
> we just installed puppetmaster 3.7.1 and trying to join a new agent 3.7.1 
> with the following error:
>
>
>
> puppet agent -t --trace --debug
>
> Error: Could not request certificate: Find 
> /devops/certificate/ca?fail_on_404=true resulted in 404 with the message: 
> Not Found: Could not find environment 'devops'
>
>
> if i try to join with production environment all is fine
>
>
> puppet.conf on server:
>
> ### File managed with puppet ###
> ## Module:           'puppet'
>
> [main]
>     # The Puppet log directory.
>     # The default value is '$vardir/log'.
>     logdir = /var/log/puppet
>
>     # Where Puppet PID files are kept.
>     # The default value is '$vardir/run'.
>     rundir = /var/run/puppet
>
>     # Where SSL certificates are kept.
>     # The default value is '$confdir/ssl'.
>     ssldir = $vardir/ssl
>
>     # Allow services in the 'puppet' group to access key (Foreman + proxy)
>     privatekeydir = $ssldir/private_keys { group = service }
>     hostprivkey = $privatekeydir/$certname.pem { mode = 640 }
>
>     # Puppet 3.0.x requires this in both [main] and [master] - harmless on 
> agents
>     autosign       = $confdir/autosign.conf { mode = 664 }
>
>     show_diff     = false
>
>     # Use specified CA server
>     ca_server = xxxx
>     hiera_config = $confdir/hiera.yaml
>
> ### Next part of the file is managed by a different template ###
> ## Module:           'puppet'
>
> [master]
>     autosign       = $confdir/autosign.conf { mode = 664 }
>     reports        = foreman
>     external_nodes = /etc/puppet/node.rb
>     node_terminus  = exec
>     ca             = false
>     ssldir         = /var/lib/puppet/ssl
>     certname       = xxx
>     environmentpath  = /etc/puppet/environments
>     basemodulepath   = 
> /etc/puppet/environments/common:/etc/puppet/modules:/usr/share/puppet/modules
>
>
>
> /etc/puppet lokks like:
>
> .
> ├── auth.conf
> ├── auth.conf.rpmnew
> ├── environments
> │   ├── development
> │   │   ├── manifests
> │   │   │   └── site.pp
> │   │   └── modules
> │   ├── devops
> │   │   ├── environment.conf
> │   │   ├── manifests
> │   │   │   └── site.pp
> │   │   └── modules
> │   ├── example_env
> │   │   ├── manifests
> │   │   ├── modules
> │   │   └── README.environment
> │   ├── production
> │   │   ├── manifests
> │   │   │   └── site.pp
> │   │   └── modules
> │   ├── quality
> │   │   ├── manifests
> │   │   │   └── site.pp
> │   │   └── modules
> │   └── testing
> │       ├── manifests
> │       │   └── site.pp
> │       └── modules
> ├── fileserver.conf
> ├── foreman.yaml
> ├── manifests
> │   └── site.pp
> ├── modules
> ├── node.rb
> ├── puppet.conf
> ├── puppet.conf.install
> └── rack
>     ├── config.ru
>     ├── public
>     └── tmp
>         └── restart.txt
>
>
>
>
>
>

-- 
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/18b8e473-3d28-4300-8e73-9fb3b146abcd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to