Re: [Puppet Users] Mount NFS share defined in hiera

2023-02-24 Thread Laci D
Thank you! My situation was a bit more complicated since needed support for two operating systems, the following implementation worked: common.yaml nfs_mounts: device: 'nfs.server.com:/mount' options: 'nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2,noresvport'

RE: [Puppet Users] Mount NFS share defined in hiera

2023-02-24 Thread Chris Ritson
The code I have been given for an NFS mount is like this. Note the module in use on the first line…. types::files: # derdanne/nfs takes care of mountpoint creation. '’: ensure: directory mode: '0775' debconfs: 'apparmor/homedirs': ensure: present type: string value:

Re: [Puppet Users] mount type is constantly remounting

2011-09-15 Thread Daniel Piddock
On 15/09/11 07:59, slune wrote: > Hi, > > I have defined mount resource like this: > > mount { "/mnt/test/": > device => "//test/test", > fstype => cifs, > ensure => mounted, > options=> "defaults,acl,soft,uid=test,gid=test=x"," > remounts => true, > } > > Fo

Re: [Puppet Users] mount "remounts" not working

2011-08-17 Thread Arnau Bria
On Tue, 16 Aug 2011 18:31:48 +0200 Stefan Schulte wrote: [...] > Solution: remove the name (so name will implicitly be /srv/cloud) or > change name to /srv/cloud (with no trailing slash) > > FTW: This is filed as https://projects.puppetlabs.com/issues/6793 thanks a lot! > -Stefan Cheers, Arnau

Re: [Puppet Users] mount "remounts" not working

2011-08-16 Thread Stefan Schulte
On Tue, Aug 16, 2011 at 03:34:02PM +0200, Arnau Bria wrote: > Hi all, > > I have some code like: > > { > '/srv/cloud' : > name => '/srv/cloud/' , > atboot => true , > device => 'iscsidisk01.domain.org:/volumes/POOL/one' , > fstyp

Re: [Puppet Users] mount type attempting remount when ensure => present

2010-10-01 Thread Bruce Richardson
On Fri, Oct 01, 2010 at 08:55:34AM -0400, Rob McBroom wrote: > I've added a use case to the bug report. > > On Oct 1, 2010, at 4:30 AM, Bruce Richardson wrote: > > > According to the online documentation (which is autogenerated), "Set to > > present to add to fstab but not change mount/unmount st

Re: [Puppet Users] mount type attempting remount when ensure => present

2010-10-01 Thread Rob McBroom
I've added a use case to the bug report. On Oct 1, 2010, at 4:30 AM, Bruce Richardson wrote: > According to the online documentation (which is autogenerated), "Set to > present to add to fstab but not change mount/unmount status " Where are you seeing that? For as long as I've used Puppet, the t

Re: [Puppet Users] mount type attempting remount when ensure => present

2010-10-01 Thread Bruce Richardson
On Thu, Sep 30, 2010 at 02:13:08PM -0400, Rob McBroom wrote: > > According to the documentation, that's how `ensure => present` is > supposed to work, though I can't imagine the use case for “put it in > fstab but make sure it's never mounted”. According to the online documentation (which is auto

Re: [Puppet Users] mount type attempting remount when ensure => present

2010-10-01 Thread Felix Frank
On 10/01/2010 02:41 AM, John Warburton wrote: > http://projects.puppetlabs.com/issues/4904 Thanks. > Can Felix & Rob update the ticket with your use cases and requests? Done. I hope I could generalize the problem somewhat (yes, in this case that's a good thing ;-) Cheers, Felix -- You receive

Re: [Puppet Users] mount type attempting remount when ensure => present

2010-09-30 Thread John Warburton
http://projects.puppetlabs.com/issues/4904 Can Felix & Rob update the ticket with your use cases and requests? Thanks John On 1 October 2010 09:01, John Warburton wrote: > I'll file a bug > > > On 1 October 2010 05:01, Nigel Kersten wrote: > >> On Thu, Sep 30, 2010 at 11:13 AM, Rob McBroom

Re: [Puppet Users] mount type attempting remount when ensure => present

2010-09-30 Thread John Warburton
I'll file a bug On 1 October 2010 05:01, Nigel Kersten wrote: > On Thu, Sep 30, 2010 at 11:13 AM, Rob McBroom > wrote: > > On Sep 30, 2010, at 12:37 PM, Nigel Kersten wrote: > > > >>> I noticed similar behaviour in Linux, with catastrophic results. > >>> Ensure => present apparently always mean

Re: [Puppet Users] mount type attempting remount when ensure => present

2010-09-30 Thread Nigel Kersten
On Thu, Sep 30, 2010 at 11:13 AM, Rob McBroom wrote: > On Sep 30, 2010, at 12:37 PM, Nigel Kersten wrote: > >>> I noticed similar behaviour in Linux, with catastrophic results. >>> Ensure => present apparently always means "in fstab, but not mounted", >>> which not only doesn't make much sense to

Re: [Puppet Users] mount type attempting remount when ensure => present

2010-09-30 Thread Rob McBroom
On Sep 30, 2010, at 12:37 PM, Nigel Kersten wrote: >> I noticed similar behaviour in Linux, with catastrophic results. >> Ensure => present apparently always means "in fstab, but not mounted", >> which not only doesn't make much sense to me, but led me to never use >> any ensure setting besides "m

Re: [Puppet Users] mount type attempting remount when ensure => present

2010-09-30 Thread Nigel Kersten
On Thu, Sep 30, 2010 at 1:31 AM, Felix Frank wrote: > On 09/30/2010 08:57 AM, John Warburton wrote: >> Hi All >> >> I am not sure if I am doing this right, or just meeting some Solaris >> specific thing that hasn't been catered for. >> >> Solaris 10, with puppet 0.25.5, and trying to manage /tmp.

Re: [Puppet Users] mount type attempting remount when ensure => present

2010-09-30 Thread Felix Frank
On 09/30/2010 08:57 AM, John Warburton wrote: > Hi All > > I am not sure if I am doing this right, or just meeting some Solaris > specific thing that hasn't been catered for. > > Solaris 10, with puppet 0.25.5, and trying to manage /tmp. Note that /tmp > can't be remounted on a live system ( > ht

Re: [Puppet Users] mount order

2010-04-13 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/13/2010 10:08 PM, ed-rfmd wrote: > Is there a way to control the order of the mounts? > We have a few second level directories in /a that need to mount after / > a is mounted but it appears that /a is being mounted after /a/1 and /a/ > 2. If I do

Re: [Puppet Users] mount

2010-01-26 Thread Matt
2010/1/26 Matt : > 2010/1/26 Matt : >>> Hi, >>> >>> On Thu, Dec 17, 2009 at 3:56 AM, Matt wrote: I can reliably recreate this issue in EC2 now, does anyone require any debugging on it? >>> can you run with --debug and post the output. >>> >>> thanks, >>> >>> Dan >>> >> >> Runni

Re: [Puppet Users] mount

2010-01-26 Thread Matt
2010/1/26 Matt : >> Hi, >> >> On Thu, Dec 17, 2009 at 3:56 AM, Matt wrote: >>> >>> I can reliably recreate this issue in EC2 now, does anyone require any >>> debugging on it? >>> >> can you run with --debug and post the output. >> >> thanks, >> >> Dan >> > > Running puppet 0.25.1 > > I've got this

Re: [Puppet Users] mount

2010-01-26 Thread Matt
> Hi, > > On Thu, Dec 17, 2009 at 3:56 AM, Matt wrote: >> >> I can reliably recreate this issue in EC2 now, does anyone require any >> debugging on it? >> > can you run with --debug and post the output. > > thanks, > > Dan > Running puppet 0.25.1 I've got this failing again on an EC2 instance re

Re: [Puppet Users] mount

2009-12-27 Thread Dan Bode
Hi, On Thu, Dec 17, 2009 at 3:56 AM, Matt wrote: > I can reliably recreate this issue in EC2 now, does anyone require any > debugging on it? > > can you run with --debug and post the output. thanks, Dan > I've tried setting the backup => false but that doesn't work. > > Thanks, > > Matt > >

Re: [Puppet Users] mount

2009-12-17 Thread Matt
I can reliably recreate this issue in EC2 now, does anyone require any debugging on it? I've tried setting the backup => false but that doesn't work. Thanks, Matt 2009/11/23 Peter Meier : > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > >> nothing happen and i have to kill the process (which

Re: [Puppet Users] mount

2009-11-22 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > nothing happen and i have to kill the process (which consuming lot of > ressources)... What i am doing wrong?? can you run it with --debug? And can you set backup for File["/opt/exp_soft/alice"] to false? This sounds like puppet is trying to backu