File tree Expand file tree Collapse file tree 1 file changed +58
-0
lines changed Expand file tree Collapse file tree 1 file changed +58
-0
lines changed Original file line number Diff line number Diff line change @@ -295,6 +295,24 @@ C:\\WINDOWS\\System32
295
295
../relative_path
296
296
```
297
297
298
+ #### ` Stdlib::Ensure::Service `
299
+
300
+ サービスリソースの使用可能なensure値と一致します。
301
+
302
+ 使用可能なインプット例:
303
+
304
+ ``` shell
305
+ 停止済み
306
+ 実行中
307
+ ```
308
+
309
+ 使用不可能なインプット例:
310
+
311
+ ``` shell
312
+ true
313
+ false
314
+ ```
315
+
298
316
#### ` Stdlib::Httpsurl `
299
317
300
318
HTTPS URLに一致します。
@@ -351,6 +369,30 @@ Unixオペレーティングシステムのパスに一致します。
351
369
C:/whatever
352
370
` ` `
353
371
372
+ # ### `Stdlib::Filemode`
373
+
374
+ 8進数で有効な4桁モードと一致します。
375
+
376
+ 使用可能なインプット例:
377
+
378
+ ` ` ` shell
379
+ 0644
380
+ ` ` `
381
+
382
+ ` ` ` shell
383
+ 1777
384
+ ` ` `
385
+
386
+ 使用不可能なインプット例:
387
+
388
+ ` ` ` shell
389
+ 644
390
+ ` ` `
391
+
392
+ ` ` ` shell
393
+ 0999
394
+ ` ` `
395
+
354
396
# ### `Stdlib::Windowspath`
355
397
356
398
Windowsオペレーティングシステムのパスに一致します。
@@ -1651,6 +1693,22 @@ shell_split('foo\ bar ba\"z') => ['foo bar', 'ba"z']
1651
1693
1652
1694
* タイプ* : 右辺値
1653
1695
1696
+ #### ` sprintf_hash `
1697
+
1698
+ 名前が指定されたテキストのリファレンスでprintfスタイルのフォーマットを実行します。
1699
+
1700
+ 最初のパラメータは、ハッシュ内での残りのパラメータのフォーマット方法を記述するフォーマット文字列です。詳細については、Rubyの` Kernel::sprintf ` 機能のマニュアルを参照してください。
1701
+
1702
+ 例:
1703
+
1704
+ ``` puppet
1705
+ $output = sprintf_hash('String: %<foo>s / number converted to binary: %<number>b',
1706
+ { 'foo' => 'a string', 'number' => 5 })
1707
+ # $output = 'String: a string / number converted to binary: 101'
1708
+ ```
1709
+
1710
+ * Type* : rvalue
1711
+
1654
1712
#### ` sort `
1655
1713
1656
1714
文字列と配列を語彙的に分類します。
You can’t perform that action at this time.
0 commit comments