On Fri, 12 Mar 2010 11:59:01 -0600, James Cammarata <jimi@sngx.net>
wrote:> I''ve created a custom augeas schema to handle up2date sources, and
I''m
> using puppet to deploy it; followed by the use of augeas to add lines to
> the /etc/sysconfig/rhn/sources file. I do have a requirement on all
augeas> lines that the File["rhnsources.aug"] be deployed first, however
I just
> noticed this on a fresh kickstart of my test system:
>
> notice: Starting catalog run
> notice: /:main/augeas::custom/File[rhnsources.aug]/ensure: created
> err:
>
/:main/repos::default/Repos::Rhn_source[epel-i386]/Augeas[add-repos-epel-i386]:> Failed to retrieve current state of resource: unknown error - Failed to
> initialize Augeas
> notice:
>
/:main/repos::default/Repos::Rhn_source[epel-i386]/Augeas[update-repos-epel-i386]:> Dependency augeas[add-repos-epel-i386] has 1 failures
> warning:
>
/:main/repos::default/Repos::Rhn_source[epel-i386]/Augeas[update-repos-epel-i386]:> Skipping because of failed dependencies
> err:
>
/:main/repos::default/Repos::Rhn_source[custom-x86_64]/Augeas[add-repos-custom-x86_64]:> Failed to retrieve current state of resource: unknown error - Failed to
> initialize Augeas
>
> When puppetd is re-run, it creates all the entries correctly, as
expected.>
> My question is: how can I correct this? I''d like it all to work
in a
> single pass, and not have to re-run puppetd when deploying custom augeas
> schemas.
Nevermind... this may be user error. I just noticed this:
[root@rhel4kvm001 ~]# rpm -qa | grep augeas-libs
augeas-libs-0.6.0-2.el4
augeas-libs-0.7.0-1.el4
Puppet fails until I remove the 0.7.0 libs, which I believe are i386 (this
is a x86_64 system). I''m not sure why it''s installing both of
those, but
it''s probably something I''m doing wrong during my kickstart
process...
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to
puppet-users+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.