diff --git a/doc/_index.html b/doc/_index.html index ba65064..f07dc52 100644 --- a/doc/_index.html +++ b/doc/_index.html @@ -98,6 +98,11 @@ +
  • + alloy_cd::main::user + +
  • +
  • alloy_cd::main::yumrepo diff --git a/doc/puppet_class_list.html b/doc/puppet_class_list.html index 0a74441..a463ad4 100644 --- a/doc/puppet_class_list.html +++ b/doc/puppet_class_list.html @@ -78,14 +78,21 @@
  • -
  • +
  • +
    + alloy_cd::main::user +
    +
  • + + +
  • alloy_cd::main::yumrepo
  • -
  • +
  • alloy_cd::params
    diff --git a/doc/puppet_classes/alloy_cd_3A_3Amain_3A_3Aservice.html b/doc/puppet_classes/alloy_cd_3A_3Amain_3A_3Aservice.html index 7888ddc..1cdb44d 100644 --- a/doc/puppet_classes/alloy_cd_3A_3Amain_3A_3Aservice.html +++ b/doc/puppet_classes/alloy_cd_3A_3Amain_3A_3Aservice.html @@ -112,7 +112,8 @@ 14 15 16 -17 +17 +18
    # File 'manifests/main/service.pp', line 6
    @@ -121,6 +122,7 @@ class alloy_cd::main::service (
     
     ) inherits alloy_cd::params {
       require alloy_cd::main::files
    +  require alloy_cd::main::user
     
       service { $ay_service:
         ensure     => running,
    diff --git a/doc/puppet_classes/alloy_cd_3A_3Amain_3A_3Auser.html b/doc/puppet_classes/alloy_cd_3A_3Amain_3A_3Auser.html
    new file mode 100644
    index 0000000..832bf3f
    --- /dev/null
    +++ b/doc/puppet_classes/alloy_cd_3A_3Amain_3A_3Auser.html
    @@ -0,0 +1,158 @@
    +
    +
    +  
    +    
    +
    +
    +  Puppet Class: alloy_cd::main::user
    +  
    +    — Documentation by YARD 0.9.26
    +  
    +
    +
    +  
    +
    +  
    +
    +
    +
    +
    +  
    +
    +  
    +
    +
    +  
    +  
    +    
    +
    +    
    + + +

    Puppet Class: alloy_cd::main::user

    +
    + +
    +
    Inherits:
    +
    alloy_cd::params
    +
    + + +
    +
    Defined in:
    +
    + manifests/main/user.pp +
    +
    +
    + +

    Summary

    + Class manages the alloy user + +

    Overview

    +
    +
    + +

    alloy_cd::main::user.pp Module name: alloy_cd Author: Arne Teuke +(arne_teuke@confdroid.com)

    + +
    +
    + + +
    + + + +
    + + + + + +
    +
    +
    +
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +16
    +17
    +18
    +19
    +20
    +21
    +22
    +23
    +24
    +
    +
    # File 'manifests/main/user.pp', line 6
    +
    +class alloy_cd::main::user (
    +
    +) inherits alloy_cd::params {
    +  if $ay_manage_user == true {
    +    user { $ay_user:
    +      ensure     => present,
    +      name       => $ay_user,
    +      allowdupe  => false,
    +      groups     => $ay_groups,
    +      managehome => false,
    +      shell      => $ay_user_shell,
    +    }
    +
    +    group { $ay_user:
    +      ensure    => present,
    +      allowdupe => false,
    +    }
    +  }
    +}
    +
    +
    +
    + + + +
    + + \ No newline at end of file diff --git a/doc/puppet_classes/alloy_cd_3A_3Aparams.html b/doc/puppet_classes/alloy_cd_3A_3Aparams.html index 173f5a2..754d96e 100644 --- a/doc/puppet_classes/alloy_cd_3A_3Aparams.html +++ b/doc/puppet_classes/alloy_cd_3A_3Aparams.html @@ -69,6 +69,8 @@ alloy_cd::main::dirs
    + alloy_cd::main::user
    + alloy_cd::main::files
    alloy_cd::main::config
    @@ -266,6 +268,78 @@ —

    the logging targets

    +
    + +
  • + +
  • + + ay_manage_user + + + (Boolean) + + + (defaults to: true) + + + — +
    +

    whether to manage user settings

    +
    + +
  • + +
  • + + ay_user + + + (String) + + + (defaults to: 'alloy') + + + — +
    +

    the alloy user name

    +
    + +
  • + +
  • + + ay_groups + + + (Array) + + + (defaults to: ['wheel','adm']) + + + — +
    +

    which groups the user should be in

    +
    + +
  • + +
  • + + ay_user_shell + + + (String) + + + (defaults to: '/sbin/nologin') + + + — +
    +

    which shell to use

  • @@ -281,10 +355,6 @@
     
     
    -15
    -16
    -17
    -18
     19
     20
     21
    @@ -309,10 +379,20 @@
     40
     41
     42
    -43
    +43 +44 +45 +46 +47 +48 +49 +50 +51 +52 +53 -
    # File 'manifests/params.pp', line 15
    +        
    # File 'manifests/params.pp', line 19
     
     class alloy_cd::params (
     
    @@ -330,6 +410,12 @@ class alloy_cd::params (
       Boolean $ay_manage_prom     = true,
       String $ay_prom_url         = 'https://prometheus.example.net/api/v1/write',
     
    +# user
    +  Boolean $ay_manage_user     = true,
    +  String $ay_user             = 'alloy',
    +  Array $ay_groups            = ['wheel','adm'],
    +  String $ay_user_shell       = '/sbin/nologin',
    +
     ) {
       # service
       $ay_service         = 'alloy'