[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, experimental, updated. debian/2.6.8-1-844-g7ec39d5

Jacob Helwig jacob at puppetlabs.com
Tue May 10 08:06:06 UTC 2011


The following commit has been merged in the experimental branch:
commit 682686f7cb6c1b400f04297ebf606d3b555858ce
Author: Jacob Helwig <jacob at puppetlabs.com>
Date:   Wed Mar 9 10:51:01 2011 -0800

    (#6441) Add mount fixture for AIX's /etc/filesystems
    
    This fixture is currently unused, largely due to the mount type being
    based on parsedfile, which is incapable of parsing /etc/filesystems.
    
    Paired-with: Daniel Pittman <daniel at puppetlabs.com>

diff --git a/spec/fixtures/unit/provider/mount/parsed/aix.filesystems b/spec/fixtures/unit/provider/mount/parsed/aix.filesystems
new file mode 100644
index 0000000..7347f2b
--- /dev/null
+++ b/spec/fixtures/unit/provider/mount/parsed/aix.filesystems
@@ -0,0 +1,144 @@
+* IBM_PROLOG_BEGIN_TAG 
+* This is an automatically generated prolog. 
+*  
+* bos61B src/bos/etc/filesystems/filesystems 1.23 
+*  
+* Licensed Materials - Property of IBM 
+*  
+* COPYRIGHT International Business Machines Corp. 1985,1993 
+* All Rights Reserved 
+*  
+* US Government Users Restricted Rights - Use, duplication or 
+* disclosure restricted by GSA ADP Schedule Contract with IBM Corp. 
+*  
+* @(#)filesystems @(#)29        1.23  src/bos/etc/filesystems/filesystems, cmdfs, bos61B, b2007_38A8 8/16/07 17:18:35
+* IBM_PROLOG_END_TAG 
+*
+* COMPONENT_NAME: CMDFS
+* 
+* FUNCTIONS: none 
+*
+* ORIGINS: 27 
+*
+* (C) COPYRIGHT International Business Machines Corp. 1985, 1993
+* All Rights Reserved
+* Licensed Materials - Property of IBM
+*
+* US Government Users Restricted Rights - Use, duplication or
+* disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
+*
+*
+*
+* This version of /etc/filesystems assumes that only the root file system
+* is created and ready.  As new file systems are added, change the check,
+* mount, free, log, vol and vfs entries for the appropriate stanza.
+*
+
+/:
+        dev             = /dev/hd4
+        vfs             = jfs2
+        log             = /dev/hd8
+        mount           = automatic
+        check           = false
+        type            = bootfs
+        vol             = root
+        free            = true
+        quota           = no
+
+/home:
+        dev             = /dev/hd1
+        vfs             = jfs2
+        log             = /dev/hd8
+        mount           = true
+        check           = true
+        vol             = /home
+        free            = false
+        quota           = no
+
+/usr:
+        dev             = /dev/hd2
+        vfs             = jfs2
+        log             = /dev/hd8
+        mount           = automatic
+        check           = false
+        type            = bootfs
+        vol             = /usr
+        free            = false
+        quota           = no
+
+/var:
+        dev             = /dev/hd9var
+        vfs             = jfs2
+        log             = /dev/hd8
+        mount           = automatic
+        check           = false
+        type            = bootfs
+        vol             = /var
+        free            = false
+        quota           = no
+
+/tmp:
+        dev             = /dev/hd3
+        vfs             = jfs2
+        log             = /dev/hd8
+        mount           = automatic
+        check           = false
+        vol             = /tmp
+        free            = false
+        quota           = no
+
+/admin:
+        dev             = /dev/hd11admin
+        vfs             = jfs2
+        log             = /dev/hd8
+        mount           = true
+        check           = false
+        vol             = /admin
+        free            = false
+        quota           = no
+
+/proc:
+        dev       = /proc
+        vol       = "/proc"
+        mount     = true
+        check     = false
+        free      = false
+        vfs       = procfs
+
+/opt:
+        dev             = /dev/hd10opt
+        vfs             = jfs2
+        log             = /dev/hd8
+        mount           = true
+        check           = true
+        vol             = /opt
+        free            = false
+        quota           = no
+
+/var/adm/ras/livedump:
+        dev             = /dev/livedump
+        vfs             = jfs2
+        log             = /dev/hd8
+        mount           = true
+        account         = false
+        quota           = no
+
+
+/stage/middleware:
+        dev             = "/stage/middleware"
+        vfs             = nfs
+        nodename        = 192.168.1.11
+        mount           = true
+        type            = nfs
+        options         = ro,bg,hard,intr,sec=sys
+        account         = false
+
+/home/u0010689:
+        dev             = "/userdata/20010689"
+        vfs             = nfs
+        nodename        = 192.168.1.11
+        mount           = true
+        type            = nfs
+        options         = bg,hard,intr
+        account         = false
+
diff --git a/spec/unit/provider/mount/parsed_spec.rb b/spec/unit/provider/mount/parsed_spec.rb
index 43defbe..b63c075 100755
--- a/spec/unit/provider/mount/parsed_spec.rb
+++ b/spec/unit/provider/mount/parsed_spec.rb
@@ -189,6 +189,8 @@ FSTAB
 
   end
 
+  it "should support AIX's paragraph based /etc/filesystems"
+
   my_fixtures('*.fstab').each do |fstab|
     platform = File.basename(fstab, '.fstab')
     describe "when prefetching on #{platform}" do

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list