Skip to content

Commit

Permalink
Remove legacy top-scope syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
smortex committed Nov 23, 2023
1 parent d8c5f55 commit 64d65fb
Show file tree
Hide file tree
Showing 16 changed files with 22 additions and 22 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ acl remote_urls url_regex http://example.org/path
acl remote_urls url_regex http://example.com/anotherpath
```

These may be defined as a hash passed to ::squid
These may be defined as a hash passed to squid

#### Parameters for Type squid::acl
* `type` The acltype of the acl, must be defined, e.g url_regex, urlpath_regex, port, ..
Expand Down Expand Up @@ -269,7 +269,7 @@ Adds a squid.conf line
snmp_access allow monitoring hosts
```

These may be defined as a hash passed to ::squid
These may be defined as a hash passed to squid

### Defined Type squid::icp\_access
Defines [icp_access entries](http://www.squid-cache.org/Doc/config/icp_access/) for a squid server.
Expand All @@ -286,7 +286,7 @@ Adds a squid.conf line
icp_access allow our_networks hosts
```

These may be defined as a hash passed to ::squid
These may be defined as a hash passed to squid

#### Parameters for Type squid::http\_allow
* `value` defaults to the `namevar` the rule to allow or deny.
Expand Down Expand Up @@ -381,7 +381,7 @@ refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern (/cgi-bin/|\?) -i 0 0% 0
```

These may be defined as a hash passed to ::squid
These may be defined as a hash passed to squid

YAML example:
```
Expand Down Expand Up @@ -465,7 +465,7 @@ auth_param basic realm Squid Basic Authentication
auth_param basic credentialsttl 5 hours
```

These may be defined as a hash passed to ::squid
These may be defined as a hash passed to squid

#### Parameters for Type squid::auth_param
* `scheme` the scheme used for authentication must be defined
Expand All @@ -487,7 +487,7 @@ Adds a squid.conf line
ssl_bump bump all
```

These may be defined as a hash passed to ::squid
These may be defined as a hash passed to squid

#### Parameters for Type squid::ssl\_bump
* `value` The type of the ssl_bump, must be defined, e.g bump, peek, ..
Expand All @@ -509,7 +509,7 @@ Adds a squid.conf line
sslproxy_cert_error allow all
```

These may be defined as a hash passed to ::squid
These may be defined as a hash passed to squid

#### Parameters for Type squid::sslproxy\_cert\_error
* `value` defaults to the `namevar` the rule to allow or deny.
Expand Down
2 changes: 1 addition & 1 deletion spec/defines/acl_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
facts
end
let :pre_condition do
' class{"::squid":
' class{"squid":
config => "/tmp/squid.conf"
}
'
Expand Down
2 changes: 1 addition & 1 deletion spec/defines/auth_param_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
facts
end
let :pre_condition do
' class{"::squid":
' class{"squid":
config => "/tmp/squid.conf"
}
'
Expand Down
2 changes: 1 addition & 1 deletion spec/defines/cache_dir_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
facts
end
let :pre_condition do
' class{"::squid":
' class{"squid":
config => "/tmp/squid.conf"
}
'
Expand Down
2 changes: 1 addition & 1 deletion spec/defines/cache_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
facts
end
let :pre_condition do
' class{"::squid":
' class{"squid":
config => "/tmp/squid.conf"
}
'
Expand Down
2 changes: 1 addition & 1 deletion spec/defines/extra_config_section_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
facts
end
let(:pre_condition) do
' class{"::squid":
' class{"squid":
config => "/tmp/squid.conf"
}
'
Expand Down
2 changes: 1 addition & 1 deletion spec/defines/http_access_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
facts
end
let :pre_condition do
' class{"::squid":
' class{"squid":
config => "/tmp/squid.conf"
}
'
Expand Down
2 changes: 1 addition & 1 deletion spec/defines/http_port_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
facts
end
let :pre_condition do
' class{"::squid":
' class{"squid":
config => "/tmp/squid.conf"
}
'
Expand Down
2 changes: 1 addition & 1 deletion spec/defines/https_port_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
facts
end
let :pre_condition do
' class{"::squid":
' class{"squid":
config => "/tmp/squid.conf"
}
'
Expand Down
2 changes: 1 addition & 1 deletion spec/defines/icp_access_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
facts
end
let :pre_condition do
' class{"::squid":
' class{"squid":
config => "/tmp/squid.conf"
}
'
Expand Down
2 changes: 1 addition & 1 deletion spec/defines/refresh_pattern_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
facts
end
let :pre_condition do
' class{"::squid":
' class{"squid":
config => "/tmp/squid.conf"
}
'
Expand Down
2 changes: 1 addition & 1 deletion spec/defines/send_hit_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
facts
end
let :pre_condition do
' class{"::squid":
' class{"squid":
config => "/tmp/squid.conf"
}
'
Expand Down
2 changes: 1 addition & 1 deletion spec/defines/snmp_access_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
facts
end
let :pre_condition do
' class{"::squid":
' class{"squid":
config => "/tmp/squid.conf"
}
'
Expand Down
2 changes: 1 addition & 1 deletion spec/defines/snmp_port_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
facts
end
let :pre_condition do
' class{"::squid":
' class{"squid":
config => "/tmp/squid.conf"
}
'
Expand Down
2 changes: 1 addition & 1 deletion spec/defines/ssl_bump_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
facts
end
let :pre_condition do
' class{"::squid":
' class{"squid":
config => "/tmp/squid.conf"
}
'
Expand Down
2 changes: 1 addition & 1 deletion spec/defines/sslproxy_cert_error_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
facts
end
let :pre_condition do
' class{"::squid":
' class{"squid":
config => "/tmp/squid.conf"
}
'
Expand Down

0 comments on commit 64d65fb

Please sign in to comment.