On Wed, Nov 12, 2008 at 4:28 PM, Luke Kanies <[EMAIL PROTECTED]> wrote:
>
> On Nov 10, 2008, at 10:43 AM, Trevor Vaughan wrote:
>
>> I've found that I have to restart the puppetmaster in various
>> situations that I don't think it should need.
>>
>> Generally, I restart it if:
>>
>> 1) I've mucked
On Nov 10, 2008, at 10:43 AM, Trevor Vaughan wrote:
> I've found that I have to restart the puppetmaster in various
> situations that I don't think it should need.
>
> Generally, I restart it if:
>
> 1) I've mucked about with a bunch of variables
> 2) I've added custom facts or functions
> 3) I'v
I've found that I have to restart the puppetmaster in various
situations that I don't think it should need.
Generally, I restart it if:
1) I've mucked about with a bunch of variables
2) I've added custom facts or functions
3) I've made massive updates to modules
It seems to all work out then.
I just got it working, I had to restart puppetmaster, which seems like
it shouldn't have been necessary although I had just replaced a string
with the array ... so I don't know.
On Nov 8, 7:13 am, Marcin Owsiany <[EMAIL PROTECTED]> wrote:
> On Fri, Nov 07, 2008 at 07:18:11AM -0800, tek-ops wrote:
On Fri, Nov 07, 2008 at 07:18:11AM -0800, tek-ops wrote:
>
> /etc/puppet/manifests/nodes.pp
>
> node "test1" {
> $nameservers = ["192.168.0.2", "192.168.0.3"]
[...]
> nameserver 192.168.0.2192.168.0.3
> -
I think I remember discovering that the translation from a variable
into a template smashes the array together.
Try passing it through a define and see what happens.
I feel that this is a bug as well.
Trevor
On Fri, Nov 7, 2008 at 10:18, tek-ops <[EMAIL PROTECTED]> wrote:
>
> /etc/puppet/manif
I've actually submitted this as a bug (Bug #1738)
http://projects.reductivelabs.com/issues/show/1738
As this seems like it was intended to work.
On Nov 7, 10:18 am, tek-ops <[EMAIL PROTECTED]> wrote:
> /etc/puppet/manifests/nodes.pp
>
/etc/puppet/manifests/nodes.pp
node "test1" {
$nameservers = ["192.168.0.2", "192.168.0.3"]
$domain = "nfs.example.com"
}
node "test2" {
$nameservers = ["10.0.0.2", "10.0.0.3"]
$domain
On Thu, Nov 06, 2008 at 07:36:51AM -0800, tek-ops wrote:
>
> for me, that only works if I specify $nameserver in the manifest for
> my resolv.conf module. If I specify it in the node (i.e. configuring
> one node to use different name servers), it concatenates the two
> nameserver array elements
for me, that only works if I specify $nameserver in the manifest for
my resolv.conf module. If I specify it in the node (i.e. configuring
one node to use different name servers), it concatenates the two
nameserver array elements to a single array.
On Nov 5, 9:44 pm, Aj <[EMAIL PROTECTED]> wrote:
search my.domain.tld
<% nameserver.each do |n| %>
nameserver <%= n %>
<% end %>
On 6/11/2008, at 7:52 AM, tek-ops <[EMAIL PROTECTED]> wrote:
>
> no one has dealt with this before?
>
> On Nov 3, 4:39 pm, tek-ops <[EMAIL PROTECTED]> wrote:
>> I appear that this will only work if the array is decla
no one has dealt with this before?
On Nov 3, 4:39 pm, tek-ops <[EMAIL PROTECTED]> wrote:
> I appear that this will only work if the array is declared in the
> manifest.
>
> I'm attempting to make resolv.conf a template in which I can specify
> by node which array of name servers to use. which lo
12 matches
Mail list logo