File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 164
164
true => ' _none_' ,
165
165
default => $puppet_agent::proxy ,
166
166
}
167
+
167
168
yumrepo { 'pc_repo' :
168
169
baseurl => $source ,
169
170
descr => " Puppet Labs ${puppet_agent::collection} Repository" ,
178
179
username => $puppet_agent::username ,
179
180
password => $puppet_agent::password ,
180
181
}
182
+ file { '/etc/yum.repos.d/pc_repo.repo' :
183
+ ensure => file ,
184
+ mode => " 0600"
185
+ }
181
186
}
182
187
}
183
188
}
Original file line number Diff line number Diff line change 134
134
# 'auto' versus X.Y.Z
135
135
$_package_version = getvar(' puppet_agent::master_or_package_version' )
136
136
137
+ # REMIND: why is this is_pe??
137
138
# REMIND: add credentials to PuppetcoreCreds
138
139
$pw = unwrap($puppet_agent::password )
139
140
$url = URI($source )
140
- $baseurl = " ${url.scheme}://${puppet_agent::username} :${pw} @${url.host}/${url.path}?auth=basic&ssl_verify=no"
141
+ # REMIND: should this be sensitive? so it doesn't show in yum repo diff?
142
+ # REMIND: what about ssl_verify=no?
143
+ $baseurl = Sensitive(" ${url.scheme}://${puppet_agent::username} :${pw} @${url.host}/${url.path}?auth=basic&ssl_verify=no" )
141
144
142
145
# In Puppet Enterprise, agent packages are served by the same server
143
146
# as the master, which can be using either a self signed CA, or an external CA.
You can’t perform that action at this time.
0 commit comments