Re: [Puppet Users] Problem with puppet-concat

698 views
Skip to first unread message

R.I.Pienaar

unread,
Jul 19, 2012, 12:08:11 PM7/19/12
to puppet...@googlegroups.com


----- Original Message -----
> From: "Mark" <ma...@omzig.co.nz>
> To: puppet...@googlegroups.com
> Sent: Thursday, July 19, 2012 5:01:21 PM
> Subject: [Puppet Users] Problem with puppet-concat
>
> Hi
>
>
> I am developing a module to create a simple nas for my work and I am
> using the concat module to assemble /etc/exports and
> /etc/samba/smb.conf .
>
>
> I developed my module on my puppet development server and concat
> worked like a charm, however when I rolled it out to my live servers
> if kept on failing with the following error:
>
>
>
> err: Failed to apply catalog: Could not find dependent
> Exec[concat_/etc/exports] for
> File[/_etc_exports/fragments/2_exports_ART_DATA] at
> /etc/puppet/environment/testing/modules/concat/manifests/fragment.pp:48
>

this suggests you're doing a nas::fileshare{..} without doing class{"nas":}.

would need to see the code where you're using the class and define too.

Mark

unread,
Jul 21, 2012, 8:30:01 AM7/21/12
to puppet...@googlegroups.com
Wow, thanks for the prompt response!

I get the idiot of the week award. 

When I rolled my nas module out to live I missed a line when I moved the node file entries. That line was "include nas". The one thing I didn't check...

Put that back in and it all burst into life.

Thanks for your help.

On Thursday, July 19, 2012 5:08:11 PM UTC+1, R.I. Pienaar wrote:
Reply all
Reply to author
Forward
0 new messages