8000 GitHub - trlinkin/trlinkin-noop at 0.0.2 · GitHub
[go: up one dir, main page]

Skip to content
  • About

    Puppet DSL 'noop' function. This allows every resource in the containing scope to be set to noop by default.

    Resources

    Stars

    18 stars

    Watchers

    3 watching

    Forks

    Latest commit

     

    History

    13 Commits

    Folders and files

    Repository files navigation

    Noop

    Build Status

    A Puppet DSL noop() function for setting a whole scope to noop.

    Usage

    This is a statement function that accepts no arguments. It can be called at any scope. It's effects will propagate into child scopes.

    class ssh {
    
      noop()
      
      package { 'openssh-server' :
        ensure => installed,
      }
    
      file { '/etc/ssh/sshd_config':
        ensure => file,
      }
      
      service { 'sshd':
        ensure  => running,
        require => Package['openssh-server'],
      }
    }
    

    The outcome of the usage in the example above will be equivalent to setting noop => true as a default for each resource. None of the resources in Class['ssh'] will be enforced.

    About

    Puppet DSL 'noop' function. This allows every resource in the containing scope to be set to noop by default.

    Resources

    Stars

    18 stars

    Watchers

    3 watching

    Forks

    Releases

    Packages

    Used by

    Contributors

    Languages

    0