yes, I tried in the same way, here is my manifest;
filesever.conf:
------------------
[SLESSUDO]
path /etc/puppet/modules/sudo/files/
allow *.mydomain.com
-----------------------------
$sourcepath = $operatingsystem ? {
AIX => "/etc/puppet/sudo/files/sudoers",
default => "puppet:///SLESSUDO/sudoers",
}
file {"$sourcepath":
owner => $owner,
group => $group,
mode => $mode,
source => $sourcepath,
#require => Package["sudo"],
}
this is the err:
err: Could not run Puppet configuration client: Parameter path failed:
File paths must be fully qualified, not 'puppet:/SLES_SUDO/sudoers' at
/etc/puppet/manifests/<myfile>:
Am 03.03.2010 13:17, schrieb Haris Farooque:
I was using Puppet 0.24.8 and now upgrade the puppet server and client
both to 0.25.4 (on 1 machine i.e. server and client), but i am facing
some problems. While testing, some of the configs which were/are
running fine on older version generates error here;
for instance,
i have defined the FileSource path in '/etc/puppet/fileserver.conf'
[myFileSrc]
path /etc/puppet/modules/repo/files/
allow *.mydomain.com
but when i run puppet cleint it gives me following err;
*err: Could not run Puppet configuration client: Parameter path
failed: File paths must be fully qualified, not
'puppet:/myFileSrc**/<filename>' at /etc/puppet/manifests/<myfile>:158
*whats wrong here? *
*----------
Haris Farooque --
You received this message because you are subscribed to the Google
Groups "Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.
--
M. Haris Farooque
--
You received this message because you are subscribed to the Google Groups "Puppet
Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.