Skip to content

Commit

Permalink
Merge pull request #2 from jordiprats/master
Browse files Browse the repository at this point in the history
group- and passwd- file modes
  • Loading branch information
jordiprats authored Jul 10, 2017
2 parents 520da9e + c3f8db4 commit 85a84b4
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGELOG

## 0.1.1

* added **shadow::filemodes** to manage group- and passwd- file mode

## 0.1.0

* initial release
16 changes: 16 additions & 0 deletions manifests/filemodes.pp
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
class shadow::filemodes() inherits shadow {

file { '/etc/group-':
ensure => 'present',
owner => 'root',
group => 'root',
mode => '0600',
}

file { '/etc/passwd-':
ensure => 'present',
owner => 'root',
group => 'root',
mode => '0600',
}
}
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eyp-shadow",
"version": "0.1.0",
"version": "0.1.1",
"author": "eyp",
"summary": "manages useradd and login.defs defaults",
"license": "Apache-2.0",
Expand Down

0 comments on commit 85a84b4

Please sign in to comment.