-
Notifications
You must be signed in to change notification settings - Fork 127
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #25 from blkperl/fix_puppet32x_dep
Fix puppet 3.2.x deprecation warnings
- Loading branch information
Showing
3 changed files
with
37 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,33 @@ | ||
# This file is being maintained by Puppet. | ||
# DO NOT EDIT | ||
|
||
[ <%= name %> ] | ||
path = <%= path %> | ||
read only = <%= read_only %> | ||
write only = <%= write_only %> | ||
list = <%= list %> | ||
uid = <%= uid %> | ||
gid = <%= gid %> | ||
incoming chmod = <%= incoming_chmod %> | ||
outgoing chmod = <%= outgoing_chmod %> | ||
max connections = <%= max_connections %> | ||
<% if Integer(max_connections) > 0 %>lock file = <%= lock_file %><% end %> | ||
<% if comment != :undef %>comment = <%= comment %><% end %> | ||
<% if secrets_file != :undef %>secrets file = <%= secrets_file %><% end %> | ||
<% if auth_users != :undef %>auth users = <%= auth_users.to_a.join(', ')%><% end %> | ||
<% if hosts_allow != :undef %>hosts allow = <%= hosts_allow.to_a.join(' ')%><% end %> | ||
<% if hosts_deny != :undef %>hosts deny = <%= hosts_deny.to_a.join(' ')%><% end %> | ||
[ <%= @name %> ] | ||
path = <%= @path %> | ||
read only = <%= @read_only %> | ||
write only = <%= @write_only %> | ||
list = <%= @list %> | ||
uid = <%= @uid %> | ||
gid = <%= @gid %> | ||
incoming chmod = <%= @incoming_chmod %> | ||
outgoing chmod = <%= @outgoing_chmod %> | ||
max connections = <%= @max_connections %> | ||
<% if Integer(@max_connections) > 0 -%> | ||
lock file = <%= @lock_file %> | ||
<% end -%> | ||
<% if @comment -%> | ||
comment = <%= @comment %> | ||
<% end -%> | ||
<% if @secrets_file -%> | ||
secrets file = <%= @secrets_file %> | ||
<% end -%> | ||
<% if @auth_users -%> | ||
auth users = <%= @auth_users.to_a.join(', ')%> | ||
<% end %> | ||
<% if @hosts_allow -%> | ||
hosts allow = <%= @hosts_allow.to_a.join(' ')%> | ||
<% end -%> | ||
<% if @hosts_deny -%> | ||
hosts deny = <%= @hosts_deny.to_a.join(' ')%> | ||
<% end -%> | ||
|
||
|