Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove legacy top-scope syntax #188

Merged
merged 1 commit into from
Jan 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading