Hi,
I would like to have mounts entries and mount points created using
create_resources from the same hiera data.
I am thinking to describe directories like this:
---
my::mounts:
/dir1:
device: server1:/share1
options: rw,soft,noatime
owner: user1
mode: 0644
/dir2:
devic
Hi,
On 06/04/2014 03:32 PM, Vadym Chepkov wrote:
> File[ensure=>directory] -> Mount[type=nfs,ensure=>mounted]
>
> Is this possible or I have to maintain two sets of data?
no, that is fine. The 'puppet magic' you are looking for is a defined
type that accepts all the parameters you want to declar
On Wednesday, June 4, 2014 9:52:44 AM UTC-4, Felix.Frank wrote:
>
> Hi,
>
> On 06/04/2014 03:32 PM, Vadym Chepkov wrote:
> > File[ensure=>directory] -> Mount[type=nfs,ensure=>mounted]
> >
> > Is this possible or I have to maintain two sets of data?
>
> no, that is fine. The 'puppet magic' yo
Vadym,
This is not currently possible (but is a VERY wanted feature going back
years). Most of us just use an Exec.
Trevor
On Wed, Jun 4, 2014 at 11:34 AM, Vadym Chepkov wrote:
>
>
> On Wednesday, June 4, 2014 9:52:44 AM UTC-4, Felix.Frank wrote:
>>
>> Hi,
>>
>> On 06/04/2014 03:32 PM, Vadym
On Wednesday, June 4, 2014 10:34:11 AM UTC-5, Vadym Chepkov wrote:
>
>
>
> On Wednesday, June 4, 2014 9:52:44 AM UTC-4, Felix.Frank wrote:
>>
>> Hi,
>>
>> On 06/04/2014 03:32 PM, Vadym Chepkov wrote:
>> > File[ensure=>directory] -> Mount[type=nfs,ensure=>mounted]
>> >
>> > Is this possible or