Hi,

I'm using directory environments in puppet and its working well. I've been 
trying to setup a symlink under /etc/puppet/environments, to link to a 
directory in my home area so i can develop code away from the main puppet 
directory tree. When i create the symbolic link and run puppet on my node 
it fails. Information below.l I guess I;m missing something.

[root@puppet environments]# pwd
/etc/puppet/environments

[root@puppet environments]# ls -al
total 16
drwxr-xr-x. 4 root root 4096 Jan 15 19:02 .
drwxr-xr-x. 7 root root 4096 Dec 22 08:14 ..
-rw-r--r--. 1 root root    0 Aug 27 23:06 develop
drwxr-xr-x. 4 root root 4096 Aug 27 23:06 development
lrwxrwxrwx. 1 root root   31 Jan 15 19:02 production -> 
/home/live/puppet/production/
drwxr-xr-x. 4 root root 4096 Aug 21 14:13 production_OLD

[root@puppet environments]# ls -al production
lrwxrwxrwx. 1 root root 31 Jan 15 19:02 production -> 
/home/live/puppet/production/
[root@puppet environments]# 

[root@puppet environments]# ls -al production/
total 20
drwxr-xr-x. 4 live live 4096 Jan 15 15:43 .
drwxrwxr-x. 4 live live 4096 Jan 15 15:37 ..
-rw-r--r--. 1 live live   83 Aug 21 14:13 environment.conf
drwxr-xr-x. 2 live live 4096 Nov 24 19:29 manifests
drwxr-xr-x. 4 live live 4096 Aug 21 14:13 modules

The error:

[root@Atlassian facts.d]# puppet agent -t --environment production
Info: Retrieving pluginfacts
Error: /File[/var/lib/puppet/facts.d]: Could not evaluate: Could not 
retrieve information from environment production source(s) 
puppet://puppet.mydomain.com/pluginfacts
Info: Retrieving plugin
Error: /File[/var/lib/puppet/lib]: Could not evaluate: Could not retrieve 
information from environment production source(s) 
puppet://puppet.mydomain.com/plugins
Notice: /File[/var/lib/puppet/lib/puppet]: Dependency 
File[/var/lib/puppet/lib] has failures: true
Warning: /File[/var/lib/puppet/lib/puppet]: Skipping because of failed 
dependencies
Notice: /File[/var/lib/puppet/lib/puppet/provider]: Dependency 
File[/var/lib/puppet/lib] has failures: true
Warning: /File[/var/lib/puppet/lib/puppet/provider]: Skipping because of 
failed dependencies
Notice: /File[/var/lib/puppet/lib/puppet/provider/file_line]: Dependency 
File[/var/lib/puppet/lib] has failures: true
Warning: /File[/var/lib/puppet/lib/puppet/provider/file_line]: Skipping 
because of failed dependencies
Notice: /File[/var/lib/puppet/lib/puppet/parser]: Dependency 
File[/var/lib/puppet/lib] has failures: true
Warning: /File[/var/lib/puppet/lib/puppet/parser]: Skipping because of 
failed dependencies
Notice: /File[/var/lib/puppet/lib/puppet/parser/functions]: Dependency 
File[/var/lib/puppet/lib] has failures: true
Warning: /File[/var/lib/puppet/lib/puppet/parser/functions]: Skipping 
because of failed dependencies
Notice: 
/File[/var/lib/puppet/lib/puppet/parser/functions/ensure_packages.rb]: 
Dependency File[/var/lib/puppet/lib] has failures: true
Warning: 
/File[/var/lib/puppet/lib/puppet/parser/functions/ensure_packages.rb]: 
Skipping because of failed dependencies
Notice: 
/File[/var/lib/puppet/lib/puppet/parser/functions/validate_hash.rb]: 
Dependency File[/var/lib/puppet/lib] has failures: true
Warning: 
/File[/var/lib/puppet/lib/puppet/parser/functions/validate_hash.rb]: 
Skipping because of failed dependencies
Notice: /File[/var/lib/puppet/lib/puppet/parser/functions/count.rb]: 
Dependency File[/var/lib/puppet/lib] has failures: true
Warning: /File[/var/lib/puppet/lib/puppet/parser/functions/count.rb]: 
Skipping because of failed dependencies
Notice: 
/File[/var/lib/puppet/lib/puppet/parser/functions/validate_bool.rb]: 
Dependency File[/var/lib/puppet/lib] has failures: true
Warning: 
/File[/var/lib/puppet/lib/puppet/parser/functions/validate_bool.rb]: 
Skipping because of failed dependencies
Notice: 
/File[/var/lib/puppet/lib/puppet/parser/functions/get_module_path.rb]: 
Dependency File[/var/lib/puppet/lib] has failures: true
Warning: 
/File[/var/lib/puppet/lib/puppet/parser/functions/get_module_path.rb]: 
Skipping because of failed dependencies
Notice: 
/File[/var/lib/puppet/lib/puppet/parser/functions/is_ip_address.rb]: 
Dependency File[/var/lib/puppet/lib] has failures: true
...

I hope someone can point me in the right direction.

Happy to provide more information.

Regards

Live

-- 
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/dd199e55-4b53-4d51-a96a-4f6873e6859c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to