I just upgraded to puppet 0.20.1 from 0.18.4 (both using the debian
packages). After the upgrade, I''m getting the following error:
err: Could not find type "remotefile" in file
/etc/puppet/manifests/classes/kerberos.pp at line 47
Here''s the where the error is occuring:
service { nfs-common:
ensure => running,
hasstatus => true,
subscribe => remotefile["/etc/default/nfs-common"] <-
line 47
}
remotefile is defined in util.pp:
define remotefile(owner = root, ignore = ".svn", group = root, mode,
source, backup = false, recurse = false) {
file {
$name:
mode => $mode,
owner => $owner,
group => $group,
backup => $backup,
recurse => $recurse,
ignore => $ignore,
source => "puppet://$server/files/$source"
}
}
util.pp is imported by site.pp with:
import "classes/*"
Do you see anything wrong with the above? Did I miss a syntax change in
the manifests between versions?
Thanks,
Christian
this is a bug that is corrected for the next release. You cannot refer to your own define on .20.1 so User[''root''] work but Mytype[''root''] will not. I had the very same issue :) Cordialement, Ghislain _______________________________________________ Puppet-users mailing list Puppet-users@madstop.com https://mail.madstop.com/mailman/listinfo/puppet-users
On Dec 11, 2006, at 12:47 PM, Adnet Ghislain wrote:> this is a bug that is corrected for the next release. You cannot > refer to your own define on .20.1 so User[''root''] work but Mytype > [''root''] will not. I had the very same issue :)Unfortunate but true. I didn''t put out a separate release with a fix because I thought I''d have the next release out sooner. I now hope the next release will be out next week. By the way, this is exactly why I''d like people to test trunk before a release -- I''ve got a lot of tests, but not enough to cover everything. If I could get even a few people to test before a release, I expect this kind of problem would happen for less frequently. I hope some people will be willing to test when I announce a release candidate later this week or early next week. -- There is only one success - to be able to spend your life in your own way. -- Christopher Morley --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com
i am moderatly able to use cvs, if you can create gem packages for testing i will gladly test with all my fancy rules :) i do not know if creating a gem for a testing Rc realease is time consuming or not but without this i will not be able to help a lot. Cordialement, Ghislain _______________________________________________ Puppet-users mailing list Puppet-users@madstop.com https://mail.madstop.com/mailman/listinfo/puppet-users
On Mon, Dec 11, 2006 at 07:47:28PM +0100, Adnet Ghislain wrote:> this is a bug that is corrected for the next release. You cannot refer > to your own define on .20.1 so User[''root''] work but Mytype[''root''] > will not. I had the very same issue :)Would you happen to know the svn revision where it was fixed or relevent trac ticket? Thanks, Christian _______________________________________________ Puppet-users mailing list Puppet-users@madstop.com https://mail.madstop.com/mailman/listinfo/puppet-users
On Dec 11, 2006, at 1:05 PM, Adnet Ghislain wrote:> i am moderatly able to use cvs, if you can create gem packages for > testing i will gladly test with all my fancy rules :) > > i do not know if creating a gem for a testing Rc realease is time > consuming or not but without this i will not be able to help a lot.It''s actually very easy to test out of subversion -- just do an svn checkout, set the RUBYLIB environment variable, and start your daemons. This is also far less risky to your systems, since you''re not actually installing any potentially-broken code, you''re just running it temporarily. Would you not be able to do something like this? -- A government big enough to give you everything you want is big enough to take from you everything you have. --Gerald R. Ford --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com
On Dec 11, 2006, at 1:06 PM, Christian G. Warden wrote:> > Would you happen to know the svn revision where it was fixed or > relevent > trac ticket?I thought I''d already fixed it in trunk, but apparently not. Feel free to open a ticket, else I will. -- Take the utmost trouble to find the right thing to say, and then say it with the utmost levity. -- George Bernard Shaw --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com
On Mon, Dec 11, 2006 at 01:15:24PM -0600, Luke Kanies wrote:> On Dec 11, 2006, at 1:06 PM, Christian G. Warden wrote: > > > > Would you happen to know the svn revision where it was fixed or > > relevent > > trac ticket? > > I thought I''d already fixed it in trunk, but apparently not. Feel > free to open a ticket, else I will.For the archive, this is reported in ticket 373. Christian