Issue #1348 has been updated by whaymand.

Stage changed from Needs more information to Accepted
Resolution set to worksforme

Yus, it works fine in that particular git checkout (0.24.x on James's gitbut) 
and it broken just about everywhere else.

Cheers,
Derek
----------------------------------------
Bug #1348: GIT 0.24.x - Can't use alias (in host type) - Munging failed
http://reductivelabs.com/redmine/issues/show/1348

Author: whaymand
Status: New
Priority: Normal
Assigned to: 
Category: 
Target version: 
Complexity: Unknown
Patch: None
Stage: Accepted
Resolution: worksforme


I'm testing a recent-ish git (May 27?) - I'd do sooner but http access to GIT 
doesn't work any more and I can't persuade our proxies to play ball with the 
native git protocol.

If I have aliases for my host type, Puppet barfs on it.  Pretty bad 
unfortunately :-(

I get:
MODULEDIR=/users/unix/sa_dewha/SVNCheckOut/bootstrap/puppet/modules/ztest/examples/../..
puppet --color=false -v --no-report --server=localhost 
--modulepath=/users/unix/sa_dewha/SVNCheckOut/bootstrap/puppet/modules/ztest/examples/../..
 --libdir=/var/lib/puppet/plugins ./setup.pp
...
info: Loading fact virtual
...
err: Could not create pm1: Parameter alias failed: Munging failed for value 
["pm2"] in class alias: Cannot add aliases without a catalog
Parameter alias failed: Munging failed for value ["pm2"] in class alias: Cannot 
add aliases without a catalog

With
class ztest::setup {
    host { pm1:
        name => "test",
        alias => [ "pm2", "pm3" ],
        ip => "1.2.3.4"
    }
}

Which works on 0.24.4

I'll attach the whole module.

Many thanks,
Derek


----------------------------------------
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://reductivelabs.com/redmine/my/account

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to