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-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.
Thomas Bellman
2010-Mar-03 13:23 UTC
Re: [Puppet Users] File paths must be fully qualified
Haris Farooque wrote:> *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>:158The correct format is "puppet:///myFileSrc/<filename>". Or more general, "puppet://<server>/<filemodule>/<filename>", but if you don''t specify any server, Puppet will use the same server it got the manifests from. It looks like 0.24.8 treated "puppet:///foo" and "puppet:/foo" identically, but the spec didn''t really allow URLs on the latter form. /Bellman -- 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.
> *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? *can you show us your manifest in question? cheers epte -- 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.
Haris Farooque
2010-Mar-05 09:13 UTC
Re: [Puppet Users] File paths must be fully qualified
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-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.
--
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-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.
On Fri, Mar 5, 2010 at 5:13 PM, Haris Farooque <mfharis@fleetboard.com>wrote:> yes, I tried in the same way, here is my manifest; > > 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>: > > it should be puppet://SLES_SUDO/...-- 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.
sorry, I assu,e SLES_SUDO is not your servername, so in this case it should be: puppet:///SLES_SUDO/.. On Fri, Mar 5, 2010 at 5:29 PM, Ohad Levy <ohadlevy@gmail.com> wrote:> > > On Fri, Mar 5, 2010 at 5:13 PM, Haris Farooque <mfharis@fleetboard.com>wrote: > >> yes, I tried in the same way, here is my manifest; >> >> 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>: >> >> it should be puppet://SLES_SUDO/... >-- 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.
> $sourcepath = $operatingsystem ? { > AIX => "/etc/puppet/sudo/files/sudoers", > default => "puppet:///SLESSUDO/sudoers", > } > file {"$sourcepath":you set sourcepath as the targeted path of the file, this won''t work and I assume it is also not what you like to do. cheers pete -- 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.