FAQ
Hmm ..... silly I missed that;

We name our virtual machines in the following manner
[location-prefix][vm-type][project-code][vm-id] hence the name bang
(Bangalore) vmplm [ mid -size VM running RHEL 6.3] palm [project code], the
ids are from 09 to 14. I wanted to reserve this mount point only for the
VMs of this project.

looks like bangvmplmpalm* is the right way to go then.

also is there a way to extract the project code "plam" into a variable?

something like

[projects]
/apps/puppet/projects/%p/%h or /apps/puppet/projects/$project/%h ?

BR/
Anadi Misra.


On Fri, Jan 25, 2013 at 9:09 AM, Wil Cooley wrote:

On Jan 21, 2013 1:32 AM, "Anadi Misra" wrote:

hi! all,

the following regex fails for a mount point definition

[palms]
path /apps/puppet/projects/palms/%h
allow /^bangvmplmpalm([0-1][0-4,9]).example.com$/
The allow directive uses wildcards, not regular expressions:

http://docs.puppetlabs.com/guides/file_serving.html

Unless this was added but not documented.

--
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.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

Discussion Posts

Previous

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 3 of 3 | next ›
Discussion Overview
grouppuppet-users @
categoriespuppet
postedJan 21, '13 at 9:32a
activeJan 26, '13 at 5:07a
posts3
users2
websitepuppetlabs.com

2 users in discussion

Anadi Misra: 2 posts Wil Cooley: 1 post

People

Translate

site design / logo © 2022 Grokbase